package com.baizhi.dao;

import com.baizhi.entity.Resource;

import java.util.List;

public interface ResourceDAO {
    List<Resource> selectParentList(Integer parentId);


    int deleteByPrimaryKey(Integer resourceId);

    int insert(Resource record);

    int insertSelective(Resource record);

    Resource selectByPrimaryKey(Integer resourceId);

    int updateByPrimaryKeySelective(Resource record);

    int updateByPrimaryKey(Resource record);
}